package com.cskaoyan.market.exception;

/**
 * @author lixianbiao
 * @since 2024/06/30 09:52
 */
public class BizException extends RuntimeException{
    private int code;
    public BizException(int code, String errMsg) {
        super(errMsg);
        this.code = code;
    }

    public BizException(String errmsg){
        super(errmsg);
    }

    public BizException(){

    }

    public int getCode() {
        return code;
    }
}